# from statistics import *
#
# if __name__ == '__main__':
#     nums = [10,15,12,13,15,14]
#     print(mean(nums))    # 平均值
#     print(median(nums))  # 中位数，偶数取平均
#     print(mode(nums))    # 众数
#     print(pstdev(nums))   #  标准差
#     print(pvariance(nums))
#     print(sum(nums))


# import numpy as np
# from scipy.stats import kstest
#
# nums = [45, 76, 106, 102, 113, 95, 106, 110, 42, 90, 119, 103, 66, 100, 70, 71, 70, 91, 104, 116, 76, 75, 107, 139, 76,
#         165, 131, 74, 85, 116]
# x = np.linspace(-15, 15, 9)
# print(x)
# # x = np.linspace(-15, 15, 9)
# k = kstest(nums, 'norm')
# print(k)

